#ifndef MYCONTROL_H
#define MYCONTROL_H
#include<QString>
#include"model/basemodel.h"
#include"model/usermodel.h"
#include"model/videomodel.h"
#include"model/imagemodel.h"
#include"model/logmodel.h"
#include"model/logaddusermodel.h"
#include"model/devicemodel.h"
class MyControl
{
public:
    MyControl();
    static MyControl*con;
    static MyControl*getInstance();
    BaseModel*getModel(QString tableName);

private:
    BaseModel*model;
};

#endif // MYCONTROL_H
